/**
 * @name orderRequiredConfig
 * @desc 单据必填设置——基础配置
 */

// import IN_STORE_ORDER from './src/inStoreOrder'
// import OUT_STORE_ORDER from './src/outStoreOrder'
// import TAKE_STOCK_ORDER from './src/takeStockOrder'
// import STOCK_PLAN_ORDER from './src/stockPlanOrder'

export interface RequiredItems {
	id: string,
	label: string,
	required: boolean,
	disabled?: boolean,
	default?: {
		defaultValue: number,
		defaultValueList: object[]
	},
	relevance?: {
		label: string,
		relevanceArr: string[],
		relevanceOptions: string[]
	}
}

export interface RequiredBillTypes {
	id: string,
	label: string,
	requiredItems: {
		[key: string]: RequiredItems
	}
}

export interface RequiredItemType {
	label: string,
	billTypes: RequiredBillTypes[]
}

export type BillType = 'InStore' | 'OutStore' | 'TakeStockOrder' | 'StockPlanOrder'

// export const REQUIRED_ITEM_CONFIG = {
// 	...IN_STORE_ORDER,
// 	...OUT_STORE_ORDER,
// 	...TAKE_STOCK_ORDER
// 	...STOCK_PLAN_ORDER
// }
